home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / gg / ncurses-diffs.lha / ncurses-5.4-diffs
Text File  |  2004-08-18  |  4KB  |  110 lines

  1. diff -ruN ncurses-5.4-orig/README.AMIGAOS_MORPHOS ncurses-5.4/README.AMIGAOS_MORPHOS
  2. --- ncurses-5.4-orig/README.AMIGAOS_MORPHOS    Thu Jan  1 00:00:00 1970
  3. +++ ncurses-5.4/README.AMIGAOS_MORPHOS    Wed Aug 18 23:08:27 2004
  4. @@ -0,0 +1,75 @@
  5. +1. Introduction
  6. +---------------
  7. +This file describes particular issues on AmigaOS/MorphOS port of ncurses v5.4
  8. +
  9. +2. Requirements
  10. +---------------
  11. +Ncurses requires no additional compinents to be built (except base ones: ksh,
  12. +gcc, and, of course, ixemul.library)
  13. +
  14. +3. Installation
  15. +---------------
  16. +- Extract the archive into your GeekGadgets tree
  17. +- For AmigaOS:
  18. +  Go to shell and execute "setenv TERM amiga-8bit";
  19. +  Copy file ENV:TERM to your ENVARC: directory.
  20. +- For MorphOS:
  21. +  - Go to shell and execute "setenv TERM SAVE morphos".
  22. +
  23. +4. Usage
  24. +--------
  25. +On Amiga some very important keys are absent: PageDown, PageUp, Home and End.
  26. +In "amiga-8bit" terminal definition they are now mapped as follows:
  27. +
  28. +Home    Shift+Left
  29. +End     Shift+Right
  30. +PgUp    Shift+Up
  31. +PgDn    Shift+Down
  32. +
  33. +On Pegasos those keys on keyboard will be fully functional. Also F11, F12 and
  34. +"Insert" are defined.
  35. +
  36. +5. Compiling
  37. +------------
  38. +To recompile ncurses just cd to the directory with sources and type (if you use
  39. +standard Amiga shell):
  40. +
  41. +    sh configure --prefix=/gg --without-cxx-binding --enable-symlinks
  42. +
  43. +Or from UNIX shell (like ksh):
  44. +
  45. +    ./configure --prefix=/gg --without-cxx-binding --enable-symlinks
  46. +
  47. +MorphOS shell make things even easier:
  48. +
  49. +        configure --prefix=/gg --without-cxx-binding --enable-symlinks
  50. +
  51. +"--without-cxx-binding" switch disables building of c++ classes. This is needed
  52. +because ppc (and probably m68k) c++ compiler can't process the source code.
  53. +Anyway you can try this yourself.
  54. +"--enable-symlinks" switch tells to use symbolic links instead of hard links and
  55. +is necessary for SFS filesystem which does not support hard links.
  56. +
  57. +When the configuration process finishes, type:
  58. +
  59. +    make
  60. +
  61. +After compiling you may install the program by using:
  62. +
  63. +    make install
  64. +
  65. +To clean up the distribution (erase all binary and object files) you can use:
  66. +
  67. +    make distclean
  68. +
  69. +6. Known bugs
  70. +-------------
  71. +Currently i know no AmigaOS/MorphOS-specific bugs in termcap. If you notice
  72. +something (missing keys for example), feel free to let me know.
  73. +
  74. +7. Port author
  75. +---------
  76. +My name is Pavel Fedin, i live in Russia, and you can always reach me by
  77. +E-Mail:
  78. +
  79. +    sonic_amiga@rambler.ru
  80. diff -ruN ncurses-5.4-orig/misc/terminfo.src ncurses-5.4/misc/terminfo.src
  81. --- ncurses-5.4-orig/misc/terminfo.src    Sun Jan 18 01:37:18 2004
  82. +++ ncurses-5.4/misc/terminfo.src    Wed Aug 18 22:58:37 2004
  83. @@ -16218,8 +16218,9 @@
  84.  
  85.  # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
  86.  amiga-8bit|Amiga ANSI using 8-bit controls, 
  87. -    acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
  88. -    ind=\204, indn@, ri=\215, rin@, use=amiga-h, 
  89. +    acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
  90. +        kpp=\233T, knp=\233S, khome=\233 A, kend=\233 @,
  91. +    ind=\204, indn@, ri=\215, rin@, use=amiga-h,
  92.  
  93.  # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
  94.  # requires use of appropriate preferences settings.
  95. @@ -16248,6 +16249,14 @@
  96.      setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m, 
  97.      sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h, 
  98.      smso=\E[1m, smul=\E[4m, 
  99. +
  100. +# MorphOS on Genesi Pegasos
  101. +# By Pavel Fedin <sonic_amiga@rambler.ru>
  102. +morphos,
  103. +        acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
  104. +        kich1=\23340~, kpp=\23341~, knp=\23342~, khome=\23344~,
  105. +        kend=\23345~, kf11=\23320~, kf12=\23321~,
  106. +    ind=\204, indn@, ri=\215, rin@, use=amiga-h,
  107.  
  108.  # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
  109.  #     I'm trying to write a termcap for a commodore b-128, and I'm
  110.